package com.logistics.relay.entity;

import lombok.Data;

@Data
public class StationMaterial {

    private String container;

    private String itemCode;

    private String itemName;

    private String itemQty;

    private String endStation;

    private String wcCode;

    public StationMaterial(String container, String itemCode, String itemName, String itemQty, String endStation,
                           String wcCode){
        this.container = container;
        this.itemCode = itemCode;
        this.itemName = itemName;
        this.itemQty = itemQty;
        this.endStation = endStation;
        this.wcCode = wcCode;
    }

    public static StationMaterial build(String container, String itemCode, String itemName, String itemQty,
                                        String endStation, String wcCode){
        return new StationMaterial(container, itemCode, itemName, itemQty, endStation, wcCode);
    }
}
